{"type": "func", "start": 4298144460, "end": 4298144640, "name": "InitFunc_257", "pseudocode": "// \n// InitFunc_257 from 0x100307acc to 0x100307b80 (180 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008acbe0\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 11:03:08 +0000\n// \n\n__int64 InitFunc_257()\n{\n  __int64 v0; // x1\n\n  sub_1000262BC(flt_1009F6560, 0.0, 0.0);\n  sub_1000262C4(flt_1009F6568, 0.0, 0.0);\n  sub_1000262CC(flt_1009F6570, 0.0, 0.0, 0.0, 0.0);\n  xmmword_1009F6580 = xmmword_10075BA90;\n  cocos2d::CCApplication::CCApplication(&qword_1009F6590, v0);\n  qword_1009F6590 = (__int64)&off_10092B470;\n  qword_1009F6598 = (__int64)&off_10092B500;\n  word_1009F65A0 = 0;\n  qword_1009F65B8 = 0;\n  qword_1009F65A8 = 0;\n  *(__int64 *)((char *)&qword_1009F65A8 + 6) = 0;\n  return __cxa_atexit(\n           (void (__fastcall *)(void *))AppDelegate::dAppDelegate,\n           &qword_1009F6590,\n           (void *)&_mh_execute_header);\n}", "assembly": "; \n; InitFunc_257 from 0x100307acc to 0x100307b80 (180 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008acbe0\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 11:03:08 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100307acc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100307ad0\nADD             X29, SP, #0x10                                         ; +0x8, 0x100307ad4\nADRL            X0, flt_1009F6560                                      ; +0xc, 0x100307ad8\nFMOV            S0, WZR                                                ; +0x14, 0x100307ae0\nFMOV            S1, WZR                                                ; +0x18, 0x100307ae4\nBL              sub_1000262BC                                          ; +0x1c, 0x100307ae8\nADRL            X0, flt_1009F6568                                      ; +0x20, 0x100307aec\nFMOV            S0, WZR                                                ; +0x28, 0x100307af4\nFMOV            S1, WZR                                                ; +0x2c, 0x100307af8\nBL              sub_1000262C4                                          ; +0x30, 0x100307afc\nADRL            X0, flt_1009F6570                                      ; +0x34, 0x100307b00\nFMOV            S0, WZR                                                ; +0x3c, 0x100307b08\nFMOV            S1, WZR                                                ; +0x40, 0x100307b0c\nFMOV            S2, WZR                                                ; +0x44, 0x100307b10\nFMOV            S3, WZR                                                ; +0x48, 0x100307b14\nBL              sub_1000262CC                                          ; +0x4c, 0x100307b18\nADRP            X8, #xmmword_10075BA90@PAGE                            ; +0x50, 0x100307b1c\nLDR             Q0, [X8,#xmmword_10075BA90@PAGEOFF]                    ; +0x54, 0x100307b20\nADRP            X8, #xmmword_1009F6580@PAGE                            ; +0x58, 0x100307b24\nSTR             Q0, [X8,#xmmword_1009F6580@PAGEOFF]                    ; +0x5c, 0x100307b28\nADRL            X19, qword_1009F6590                                   ; +0x60, 0x100307b2c\nMOV             X0, X19                                                ; +0x68, 0x100307b34\nBL              cocos2d__CCApplication__CCApplication                  ; +0x6c, 0x100307b38\nADRL            X8, _ZTV11AppDelegate; `vtable for'AppDelegate         ; +0x70, 0x100307b3c\nADD             X9, X8, #(off_10092B470 - 0x10092B460)                 ; +0x78, 0x100307b44\nADD             X8, X8, #(off_10092B500 - 0x10092B460)                 ; +0x7c, 0x100307b48\nSTP             X9, X8, [X19]                                          ; +0x80, 0x100307b4c\nSTRH            WZR, [X19,#(word_1009F65A0 - 0x1009F6590)]             ; +0x84, 0x100307b50\nSTR             XZR, [X19,#(qword_1009F65B8 - 0x1009F6590)]            ; +0x88, 0x100307b54\nSTR             XZR, [X19,#(qword_1009F65A8 - 0x1009F6590)]            ; +0x8c, 0x100307b58\nADRL            X0, AppDelegate__dAppDelegate                          ; +0x90, 0x100307b5c\nSTUR            XZR, [X19,#(qword_1009F65A8+6 - 0x1009F6590)]          ; +0x98, 0x100307b64\nADRL            X2, __mh_execute_header                                ; +0x9c, 0x100307b68\nMOV             X1, X19                                                ; +0xa4, 0x100307b70\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa8, 0x100307b74\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xac, 0x100307b78\nB               ___cxa_atexit                                          ; +0xb0, 0x100307b7c", "xrefs": ["<???> @ 0x1008acbe0"], "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"}