// // GJBaseGameLayer::tryGetObject from 0x1001e5e50 to 0x1001e5ee0 (144 bytes) // // 20 xrefs: // > GJBaseGameLayer::resetPlayer @ 0x1001e5e18 // > GJBaseGameLayer::getMoveTargetDelta @ 0x1001eb4d0 // > GJBaseGameLayer::getMoveTargetDelta @ 0x1001eb59c // > GJBaseGameLayer::triggerDynamicMoveCommand @ 0x1001eea08 // > GJBaseGameLayer::triggerDynamicMoveCommand @ 0x1001eea48 // > GJBaseGameLayer::getRotateCommandTargets @ 0x1001eed1c // > GJBaseGameLayer::getRotateCommandTargets @ 0x1001eed2c // > GJBaseGameLayer::getRotateCommandTargets @ 0x1001eed68 // > GJBaseGameLayer::triggerRotateCommand @ 0x1001ef248 // > GJBaseGameLayer::triggerRotateCommand @ 0x1001ef258 // > GJBaseGameLayer::triggerRotateCommand @ 0x1001ef268 // > GJBaseGameLayer::triggerRotateCommand @ 0x1001ef278 // > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1001ef348 // > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1001ef358 // > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1001ef368 // > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1001ef378 // > GJBaseGameLayer::getFollowSpeedVal @ 0x1001f93d0 // > GJBaseGameLayer::getFollowSpeedVal @ 0x1001f9418 // > GJBaseGameLayer::spawnParticleTrigger_1 @ 0x10020409c // > EditorUI::findAndSelectObject @ 0x1003ea04c // // 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 // GameObject *__fastcall GJBaseGameLayer::tryGetObject(GJBaseGameLayer *a1, int a2) { GameObject *result; // x0 cocos2d::CCArray *Group; // x19 float v6; // s0 float v7; // s8 __int64 v8; // x1 if ( a2 < 1 ) return nullptr; result = GJBaseGameLayer::tryGetMainObject(a1, a2); if ( result ) return result; Group = GJBaseGameLayer::getGroup(a1, a2); if ( !(unsigned int)sub_10024A36C(Group) ) return nullptr; v6 = GameToolbox::fast_rand_0_1(); if ( v6 == 1.0 ) v7 = 0.0; else v7 = v6; v8 = (unsigned int)(int)(float)(v7 * (float)(unsigned int)sub_10024A36C(Group)); return (GameObject *)sub_10024A388(Group, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source