{"type": "func", "start": 4295002688, "end": 4295002896, "name": "InitFunc_2", "pseudocode": "// \n// InitFunc_2 from 0x100008a40 to 0x100008b10 (208 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008ae248\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\nint InitFunc_2()\n{\n  sub_10028CBE0(&unk_10099E770, 0.0, 0.0);\n  sub_10028CBF0(&unk_10099E778, 0.0, 0.0);\n  sub_10028CC00(&unk_10099E780, 0.0, 0.0, 0.0, 0.0);\n  qword_10099E790 = 0x3F80000000000000LL;\n  qword_10099E798 = 1065353216;\n  cocos2d::CCApplication::CCApplication(&qword_10099E7A0);\n  qword_10099E7A0 = (__int64)&off_100986B18;\n  qword_10099E7D8 = (__int64)&off_100986B98;\n  word_10099E7E0 = 0;\n  dword_10099E7F8 = 0;\n  qword_10099E7E8 = 0;\n  *(__int64 *)((char *)&qword_10099E7E8 + 6) = 0;\n  return __cxa_atexit((void (__fastcall *)(void *))sub_10065BFC0, &qword_10099E7A0, (void *)&_mh_execute_header);\n}", "assembly": "; \n; InitFunc_2 from 0x100008a40 to 0x100008b10 (208 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008ae248\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\npush    rbp                                                            ; +0x0, 0x100008a40\nmov     rbp, rsp                                                       ; +0x1, 0x100008a41\npush    rbx                                                            ; +0x4, 0x100008a44\npush    rax                                                            ; +0x5, 0x100008a45\nlea     rdi, unk_10099E770                                             ; +0x6, 0x100008a46\nxorps   xmm0, xmm0                                                     ; +0xd, 0x100008a4d\nxorps   xmm1, xmm1                                                     ; +0x10, 0x100008a50\ncall    sub_10028CBE0                                                  ; +0x13, 0x100008a53\nlea     rdi, unk_10099E778                                             ; +0x18, 0x100008a58\nxorps   xmm0, xmm0                                                     ; +0x1f, 0x100008a5f\nxorps   xmm1, xmm1                                                     ; +0x22, 0x100008a62\ncall    sub_10028CBF0                                                  ; +0x25, 0x100008a65\nlea     rdi, unk_10099E780                                             ; +0x2a, 0x100008a6a\nxorps   xmm0, xmm0                                                     ; +0x31, 0x100008a71\nxorps   xmm1, xmm1                                                     ; +0x34, 0x100008a74\nxorps   xmm2, xmm2                                                     ; +0x37, 0x100008a77\nxorps   xmm3, xmm3                                                     ; +0x3a, 0x100008a7a\ncall    sub_10028CC00                                                  ; +0x3d, 0x100008a7d\nmovsd   xmm0, qword ptr cs:xmmword_1008150D0                           ; +0x42, 0x100008a82\nmovsd   cs:qword_10099E790, xmm0                                       ; +0x4a, 0x100008a8a\nmov     cs:qword_10099E798, 3F800000h                                  ; +0x52, 0x100008a92\nlea     rbx, qword_10099E7A0                                           ; +0x5d, 0x100008a9d\nmov     rdi, rbx                                                       ; +0x64, 0x100008aa4\ncall    cocos2d__CCApplication__CCApplication                          ; +0x67, 0x100008aa7\nlea     rax, _ZTV11AppDelegate; `vtable for'AppDelegate                ; +0x6c, 0x100008aac\nlea     rcx, [rax+10h]                                                 ; +0x73, 0x100008ab3\nmov     cs:qword_10099E7A0, rcx                                        ; +0x77, 0x100008ab7\nadd     rax, 90h                                                       ; +0x7e, 0x100008abe\nmov     cs:qword_10099E7D8, rax                                        ; +0x84, 0x100008ac4\nmov     cs:word_10099E7E0, 0                                           ; +0x8b, 0x100008acb\nmov     cs:dword_10099E7F8, 0                                          ; +0x94, 0x100008ad4\nmov     cs:qword_10099E7E8, 0                                          ; +0x9e, 0x100008ade\nmov     cs:qword_10099E7E8+6, 0                                        ; +0xa9, 0x100008ae9\nlea     rdi, sub_10065BFC0                                             ; +0xb4, 0x100008af4\nlea     rdx, __mh_execute_header                                       ; +0xbb, 0x100008afb\nmov     rsi, rbx                                                       ; +0xc2, 0x100008b02\nadd     rsp, 8                                                         ; +0xc5, 0x100008b05\npop     rbx                                                            ; +0xc9, 0x100008b09\npop     rbp                                                            ; +0xca, 0x100008b0a\njmp     ___cxa_atexit                                                  ; +0xcb, 0x100008b0b", "xrefs": ["<???> @ 0x1008ae248"], "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"}