{"type": "func", "start": 7108528, "end": 7108688, "name": "CCLightFlash::create", "pseudocode": "// \n// CCLightFlash::create from 0x6c77b0 to 0x6c7850 (160 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::showCompleteEffect @ 0x6f80b0\n// > <???> @ 0xb5e40\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:51:21 +0000\n// \n\n__int64 __fastcall CCLightFlash::create(CCLightFlash *this)\n{\n  __int64 v1; // x19\n\n  v1 = operator new(0x168u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);\n  *(_QWORD *)(v1 + 320) = 0;\n  *(_QWORD *)(v1 + 328) = 0;\n  *(_QWORD *)v1 = &off_1421010;\n  *(_BYTE *)(v1 + 336) = 0;\n  *(_QWORD *)(v1 + 344) = 0;\n  *(_DWORD *)(v1 + 352) = 0;\n  if ( (unsigned __int8)CCLightFlash::init((CCLightFlash *)v1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n    return v1;\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);\n    return 0;\n  }\n}", "assembly": "; \n; CCLightFlash::create from 0x6c77b0 to 0x6c7850 (160 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::showCompleteEffect @ 0x6f80b0\n; > <???> @ 0xb5e40\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:51:21 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6c77b0\nMOV             X0, #0x168; unsigned __int64                           ; +0x4, 0x6c77b4\nMOV             X29, SP                                                ; +0x8, 0x6c77b8\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x6c77bc\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x6c77c0\nMOV             X19, X0                                                ; +0x14, 0x6c77c4\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x18, 0x6c77c8\nADRP            X1, #_ZTV12CCLightFlash_ptr@PAGE                       ; +0x1c, 0x6c77cc\nMOV             X0, X19; this                                          ; +0x20, 0x6c77d0\nLDR             X1, [X1,#_ZTV12CCLightFlash_ptr@PAGEOFF]; `vtable for'CCLightFlash ... ; +0x24, 0x6c77d4\nSTR             XZR, [X19,#0x140]                                      ; +0x28, 0x6c77d8\nADD             X1, X1, #0x10                                          ; +0x2c, 0x6c77dc\nSTR             XZR, [X19,#0x148]                                      ; +0x30, 0x6c77e0\nSTR             X1, [X19]                                              ; +0x34, 0x6c77e4\nSTRB            WZR, [X19,#0x150]                                      ; +0x38, 0x6c77e8\nSTR             XZR, [X19,#0x158]                                      ; +0x3c, 0x6c77ec\nSTR             WZR, [X19,#0x160]                                      ; +0x40, 0x6c77f0\nBL              _ZN12CCLightFlash4initEv; CCLightFlash::init(void)     ; +0x44, 0x6c77f4\nUXTB            W0, W0                                                 ; +0x48, 0x6c77f8\nCBZ             W0, loc_6C7818                                         ; +0x4c, 0x6c77fc\nMOV             X0, X19; this                                          ; +0x50, 0x6c7800\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x54, 0x6c7804\nMOV             X0, X19                                                ; +0x58, 0x6c7808\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0x6c780c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0x6c7810\nRET                                                                    ; +0x64, 0x6c7814\nLDR             X1, [X19]                                              ; +0x68, 0x6c7818\nMOV             X0, X19                                                ; +0x6c, 0x6c781c\nMOV             X19, #0                                                ; +0x70, 0x6c7820\nLDR             X1, [X1,#0x10]                                         ; +0x74, 0x6c7824\nBLR             X1                                                     ; +0x78, 0x6c7828\nMOV             X0, X19                                                ; +0x7c, 0x6c782c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x80, 0x6c7830\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x84, 0x6c7834\nRET                                                                    ; +0x88, 0x6c7838\nMOV             X20, X0                                                ; +0x8c, 0x6c783c\nMOV             X0, X19; void *                                        ; +0x90, 0x6c7840\nBL              _ZdlPv; operator delete(void *)                        ; +0x94, 0x6c7844\nMOV             X0, X20                                                ; +0x98, 0x6c7848\nBL              _Unwind_Resume                                         ; +0x9c, 0x6c784c", "xrefs": ["PlayLayer::showCompleteEffect @ 0x6f80b0", "<???> @ 0xb5e40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}