{"type": "func", "start": 4847260, "end": 4847404, "name": "EditLevelLayer::playStep2", "pseudocode": "// \n// EditLevelLayer::playStep2 from 0x49f69c to 0x49f72c (144 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:49 +0000\n// \n\nint __fastcall EditLevelLayer::playStep2(EditLevelLayer *this)\n{\n  int v2; // r7\n  float v3; // r1\n  cocos2d::CCSequence *v4; // r7\n  cocos2d::CCFiniteTimeAction *v5; // r0\n  cocos2d::CCAction *v6; // r0\n  unsigned __int8 v8[12]; // [sp+20h] [bp-14h] BYREF\n\n  v2 = FMODAudioEngine::sharedEngine(this);\n  GJGameLevel::getAudioFileName((GJGameLevel *)v8);\n  FMODAudioEngine::loadMusic(v2, v8, 1.0, 0, 1.0, 1, 0, 0, 0);\n  std::string::~string((int)v8);\n  v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v3);\n  v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, EditLevelLayer::playStep3, 0);\n  v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);\n  return cocos2d::CCNode::runAction(this, v6);\n}", "assembly": "; \n; EditLevelLayer::playStep2 from 0x49f69c to 0x49f72c (144 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:49 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x49f69c\nSUB             SP, SP, #0x34                                          ; +0x2, 0x49f69e\nLDR             R5, =(__stack_chk_guard_ptr - 0x49F6AA)                ; +0x4, 0x49f6a0\nMOV             R6, R0                                                 ; +0x6, 0x49f6a2\nADD             R4, SP, #0x34+var_14                                   ; +0x8, 0x49f6a4\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x49f6a6\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x49f6a8\nLDR             R3, [R5]                                               ; +0xe, 0x49f6aa\nSTR             R3, [SP,#0x34+var_8]                                   ; +0x10, 0x49f6ac\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x12, 0x49f6ae\nLDR.W           R1, [R6,#0x15C]                                        ; +0x16, 0x49f6b2\nMOV             R7, R0                                                 ; +0x1a, 0x49f6b6\nMOV             R0, R4; this                                           ; +0x1c, 0x49f6b8\nBL              _ZN11GJGameLevel16getAudioFileNameEv; GJGameLevel::getAudioFileName(void) ; +0x1e, 0x49f6ba\nMOVS            R3, #1                                                 ; +0x22, 0x49f6be\nMOV.W           R2, #0x3F800000; int                                   ; +0x24, 0x49f6c0\nSTR             R3, [SP,#0x34+var_30]; char                            ; +0x28, 0x49f6c4\nSTR             R2, [SP,#0x34+var_34]; float                           ; +0x2a, 0x49f6c6\nMOVS            R3, #0                                                 ; +0x2c, 0x49f6c8\nMOV             R0, R7; int                                            ; +0x2e, 0x49f6ca\nSTR             R3, [SP,#0x34+var_2C]; int                             ; +0x30, 0x49f6cc\nSTR             R3, [SP,#0x34+var_28]; int                             ; +0x32, 0x49f6ce\nMOV             R1, R4; int                                            ; +0x34, 0x49f6d0\nSTR             R3, [SP,#0x34+var_24]; char                            ; +0x36, 0x49f6d2\nMOVS            R3, #0; int                                            ; +0x38, 0x49f6d4\nBL              _ZN15FMODAudioEngine9loadMusicENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEfffbiib; FMODAudioEngine::loadMusic(std::string,float,float,float,bool,int,int,bool) ; +0x3a, 0x49f6d6\nMOV             R0, R4                                                 ; +0x3e, 0x49f6da\nMOVS            R4, #0                                                 ; +0x40, 0x49f6dc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x42, 0x49f6de\nMOVS            R0, #0; this                                           ; +0x46, 0x49f6e2\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x48, 0x49f6e4\nLDR             R3, =(_ZN14EditLevelLayer9playStep3Ev_ptr - 0x49F6F0)  ; +0x4c, 0x49f6e8\nSTR             R4, [SP,#0x34+var_18]                                  ; +0x4e, 0x49f6ea\nADD             R3, PC; _ZN14EditLevelLayer9playStep3Ev_ptr            ; +0x50, 0x49f6ec\nLDR             R3, [R3]; EditLevelLayer::playStep3(void)              ; +0x52, 0x49f6ee\nSTR             R3, [SP,#0x34+var_1C]                                  ; +0x54, 0x49f6f0\nADD             R3, SP, #0x34+var_1C                                   ; +0x56, 0x49f6f2\nLDM.W           R3, {R1,R2}                                            ; +0x58, 0x49f6f4\nMOV             R7, R0                                                 ; +0x5c, 0x49f6f8\nMOV             R0, R6                                                 ; +0x5e, 0x49f6fa\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x60, 0x49f6fc\nMOV             R2, R4                                                 ; +0x64, 0x49f700\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x66, 0x49f702\nMOV             R0, R7; this                                           ; +0x68, 0x49f704\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x6a, 0x49f706\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x6e, 0x49f70a\nMOV             R0, R6; this                                           ; +0x70, 0x49f70c\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x72, 0x49f70e\nLDR             R2, [SP,#0x34+var_8]                                   ; +0x76, 0x49f712\nLDR             R3, [R5]                                               ; +0x78, 0x49f714\nCMP             R2, R3                                                 ; +0x7a, 0x49f716\nBEQ             loc_49F728                                             ; +0x7c, 0x49f718\nBLX             __stack_chk_fail                                       ; +0x7e, 0x49f71a\nMOV             R0, R4                                                 ; +0x82, 0x49f71e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x84, 0x49f720\nBL              __cxa_end_cleanup                                      ; +0x88, 0x49f724\nADD             SP, SP, #0x34 ; '4'                                    ; +0x8c, 0x49f728\nPOP             {R4-R7,PC}                                             ; +0x8e, 0x49f72a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}