// // RandTriggerGameObject::customObjectSetup from 0x3ed3d0 to 0x3ed494 (196 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void RandTriggerGameObject::customObjectSetup( RandTriggerGameObject *a1, std::vector *a2, std::vector *a3) { void **m_start; // r4 void *v7; // r0 void *v8; // r3 std::vector *p_m_chanceObjects; // r6 cocos2d::CCArray *v10; // r8 unsigned int i; // r5 cocos2d::CCString *v12; // r0 cocos2d::CCString *v13; // r0 RandTriggerGameObject *v14; // [sp+0h] [bp-10h] BYREF std::vector *v15; // [sp+4h] [bp-Ch] BYREF std::vector *v16; // [sp+8h] [bp-8h] BYREF v14 = a1; v15 = a2; v16 = a3; EffectGameObject::customObjectSetup(a1, a2, a3); m_start = a3->m_start; v7 = m_start[56]; if ( v7 ) LOBYTE(v7) = atoi((const char *)a2->m_start[56].m_data.m_data) != 0; v8 = m_start[152]; a1->m_activateGroup = (char)v7; if ( v8 ) sub_775C20(&v14); else sub_776584((int)&v14, (char *)&unk_939830); p_m_chanceObjects = &a1->m_chanceObjects; v10 = sub_3E59B8((cocos2d::CCArray *)&v14); for ( i = 0; i < cocos2d::CCArray::count(v10); i += 2 ) { v12 = cocos2d::CCArray::stringAtIndex(v10, i); v15 = (std::vector *)cocos2d::CCString::intValue(v12); v13 = cocos2d::CCArray::stringAtIndex(v10, i + 1); v16 = (std::vector *)cocos2d::CCString::intValue(v13); std::vector::emplace_back(p_m_chanceObjects, (int *)&v15, (int *)&v16); } sub_774008(&v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source