MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / ReFillPending

Method ReFillPending

src/SB/Game/zNPCSpawner.cpp:599–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599st_XORDEREDARRAY* zNPCSpawner::ReFillPending()
600{
601 s32 var_r28;
602 zNPCCommon* temp_r29;
603 zNPCSpawner* var_r30;
604
605 var_r28 = 0;
606 var_r30 = this;
607 do
608 {
609 temp_r29 = var_r30->npc_owner;
610 if (((zNPCCommon*)var_r30->npc_owner != NULL) && ((s32)temp_r29->flg_vuln == 1))
611 {
612 XOrdAppend(&this->pendlist, (void*)temp_r29);
613 temp_r29->flg_vuln = 2;
614 }
615 var_r28 += 1;
616 var_r30 += 0xC;
617 } while (var_r28 < 0x10);
618 return &this->actvlist;
619}
620
621S32 zNPCSpawner::IsSPLZClear(zMovePoint* sp)
622{

Callers

nothing calls this directly

Calls 1

XOrdAppendFunction · 0.85

Tested by

no test coverage detected