{"type": "func", "start": 4297791648, "end": 4297791721, "name": "GameOptionsLayer::onUIPOptions", "pseudocode": "// \n// GameOptionsLayer::onUIPOptions from 0x1002b18a0 to 0x1002b18e9 (73 bytes)\n// \n// 1 xrefs:\n// > GameOptionsLayer::setupOptions @ 0x1002b1753\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 __fastcall GameOptionsLayer::onUIPOptions(GameOptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  UIPOptionsLayer *v2; // rbx\n\n  v2 = (UIPOptionsLayer *)operator new(0x3C8u);\n  UIPOptionsLayer::UIPOptionsLayer(v2);\n  if ( !((unsigned __int8 (__fastcall *)(UIPOptionsLayer *, cocos2d::CCObject *))v2->init)(v2, a2) )\n    sub_1007CBC40(v2);\n  cocos2d::CCObject::autorelease(v2);\n  ((void (__fastcall *)(UIPOptionsLayer *))v2->show)(v2);\n}", "assembly": "; \n; GameOptionsLayer::onUIPOptions from 0x1002b18a0 to 0x1002b18e9 (73 bytes)\n; \n; 1 xrefs:\n; > GameOptionsLayer::setupOptions @ 0x1002b1753\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, 0x1002b18a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002b18a1\npush    r14                                                            ; +0x4, 0x1002b18a4\npush    rbx                                                            ; +0x6, 0x1002b18a6\nmov     edi, 3C8h; __sz                                                ; +0x7, 0x1002b18a7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1002b18ac\nmov     rbx, rax                                                       ; +0x11, 0x1002b18b1\nmov     rdi, rax                                                       ; +0x14, 0x1002b18b4\ncall    UIPOptionsLayer__UIPOptionsLayer                               ; +0x17, 0x1002b18b7\nmov     rax, [rbx]                                                     ; +0x1c, 0x1002b18bc\nmov     rdi, rbx                                                       ; +0x1f, 0x1002b18bf\ncall    qword ptr [rax+50h]                                            ; +0x22, 0x1002b18c2\ntest    al, al                                                         ; +0x25, 0x1002b18c5\njz      short loc_1002B18E1                                            ; +0x27, 0x1002b18c7\nmov     rdi, rbx                                                       ; +0x29, 0x1002b18c9\ncall    cocos2d__CCObject__autorelease                                 ; +0x2c, 0x1002b18cc\nmov     rax, [rbx]                                                     ; +0x31, 0x1002b18d1\nmov     rdi, rbx                                                       ; +0x34, 0x1002b18d4\npop     rbx                                                            ; +0x37, 0x1002b18d7\npop     r14                                                            ; +0x38, 0x1002b18d8\npop     rbp                                                            ; +0x3a, 0x1002b18da\njmp     qword ptr [rax+508h]                                           ; +0x3b, 0x1002b18db\nmov     rdi, rbx                                                       ; +0x41, 0x1002b18e1\ncall    sub_1007CBC40                                                  ; +0x44, 0x1002b18e4", "xrefs": ["GameOptionsLayer::setupOptions @ 0x1002b1753"], "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"}