{"type": "func", "start": 5371843168, "end": 5371843338, "name": "LevelInfoLayer::loadLevelStep", "pseudocode": "// \n// LevelInfoLayer::loadLevelStep from 0x1402fd260 to 0x1402fd30a (170 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::playStep3 @ 0x1402fd203\n// > LevelInfoLayer::loadLevelStep @ 0x1402fd2b8\n// > <???> @ 0x1406d4208\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid LevelInfoLayer::loadLevelStep(LevelInfoLayer *a1)\n{\n  float v1; // xmm3_4\n  cocos2d::CCArray *v3; // rax\n  PlayLayer *v4; // rbx\n  void (*v5)(LevelInfoLayer *); // rdx\n  __int64 v6; // rbx\n  struct cocos2d::CCDelayTime *v7; // rax\n  struct cocos2d::CCSequence *v8; // rax\n  cocos2d::ccColor3B *v9; // r8\n  float v10; // [rsp+50h] [rbp+28h]\n\n  v3 = a1->m_playScene->getChildren(a1->m_playScene);\n  v4 = (PlayLayer *)cocos2d::CCArray::objectAtIndex(v3, 0);\n  PlayLayer::processCreateObjectsFromSetup(v4);\n  cocos2d::CCProgressTimer::setPercentage(a1->m_progressTimer, v4->m_loadingProgress * 100.0);\n  v5 = LevelInfoLayer::loadLevelStep;\n  if ( v4->m_loadingProgress >= 1.0 )\n    v5 = LevelInfoLayer::playStep4;\n  v6 = cocos2d::CCCallFunc::create(a1, v5);\n  v7 = cocos2d::CCDelayTime::create(0.0);\n  v8 = cocos2d::CCSequence::create(v7, v6, 0);\n  cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v8, v9, v1, v10);\n}", "assembly": "; \n; LevelInfoLayer::loadLevelStep from 0x1402fd260 to 0x1402fd30a (170 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::playStep3 @ 0x1402fd203\n; > LevelInfoLayer::loadLevelStep @ 0x1402fd2b8\n; > <???> @ 0x1406d4208\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402fd260\npush    rdi                                                            ; +0x5, 0x1402fd265\nsub     rsp, 20h                                                       ; +0x6, 0x1402fd266\nmov     rdi, rcx                                                       ; +0xa, 0x1402fd26a\nmov     rcx, [rcx+2B8h]                                                ; +0xd, 0x1402fd26d\nmov     rax, [rcx]                                                     ; +0x14, 0x1402fd274\ncall    qword ptr [rax+1D0h]                                           ; +0x17, 0x1402fd277\nmov     rcx, rax                                                       ; +0x1d, 0x1402fd27d\nxor     edx, edx                                                       ; +0x20, 0x1402fd280\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x22, 0x1402fd282\nmov     rcx, rax                                                       ; +0x28, 0x1402fd288\nmov     rbx, rax                                                       ; +0x2b, 0x1402fd28b\ncall    PlayLayer__processCreateObjectsFromSetup                       ; +0x2e, 0x1402fd28e\nmovss   xmm1, dword ptr [rbx+31F4h]                                    ; +0x33, 0x1402fd293\nmulss   xmm1, cs:dword_1406232BC                                       ; +0x3b, 0x1402fd29b\nmov     rcx, [rdi+2C8h]                                                ; +0x43, 0x1402fd2a3\ncall    cs:?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0x4a, 0x1402fd2aa\nmovss   xmm0, cs:flt_140622C24                                         ; +0x50, 0x1402fd2b0\nlea     rdx, LevelInfoLayer__loadLevelStep                             ; +0x58, 0x1402fd2b8\ncomiss  xmm0, dword ptr [rbx+31F4h]                                    ; +0x5f, 0x1402fd2bf\nmov     rcx, rdi                                                       ; +0x66, 0x1402fd2c6\nja      short loc_1402FD2D2                                            ; +0x69, 0x1402fd2c9\nlea     rdx, LevelInfoLayer__playStep4                                 ; +0x6b, 0x1402fd2cb\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x72, 0x1402fd2d2\nxorps   xmm0, xmm0                                                     ; +0x78, 0x1402fd2d8\nmov     rbx, rax                                                       ; +0x7b, 0x1402fd2db\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x7e, 0x1402fd2de\nxor     r8d, r8d                                                       ; +0x84, 0x1402fd2e4\nmov     rdx, rbx                                                       ; +0x87, 0x1402fd2e7\nmov     rcx, rax                                                       ; +0x8a, 0x1402fd2ea\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8d, 0x1402fd2ed\nmov     rdx, rax                                                       ; +0x93, 0x1402fd2f3\nmov     rcx, rdi                                                       ; +0x96, 0x1402fd2f6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x99, 0x1402fd2f9\nadd     rsp, 20h                                                       ; +0x9e, 0x1402fd2fe\npop     rdi                                                            ; +0xa2, 0x1402fd302\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xa3, 0x1402fd303", "xrefs": ["LevelInfoLayer::playStep3 @ 0x1402fd203", "LevelInfoLayer::loadLevelStep @ 0x1402fd2b8", "<???> @ 0x1406d4208"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}