{"type": "func", "start": 4296907344, "end": 4296907618, "name": "CustomizeObjectLayer::onSettings", "pseudocode": "// \n// CustomizeObjectLayer::onSettings from 0x1001d9a50 to 0x1001d9b62 (274 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001d7b13\n// \n// This function is hookable on this platform (idp: pc, 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:26:25 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::onSettings(__int64 a1)\n{\n  __int64 v1; // r15\n  __int64 v2; // r12\n  _QWORD *v3; // rbx\n\n  v1 = *(_QWORD *)(a1 + 688);\n  v2 = *(_QWORD *)(a1 + 696);\n  v3 = operator new(0x408u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v3);\n  *v3 = off_100ADDCB8;\n  v3[40] = off_100ADE2A8;\n  v3[41] = &off_100ADE318;\n  v3[42] = off_100ADE330;\n  v3[43] = off_100ADE350;\n  v3[44] = off_100ADE378;\n  v3[51] = off_100ADE3A8;\n  v3[54] = off_100ADE428;\n  v3[68] = off_100ADE448;\n  v3[83] = &off_100ADE490;\n  v3[84] = off_100ADE4A8;\n  v3[127] = 0;\n  *((_BYTE *)v3 + 1024) = 0;\n  if ( !(unsigned __int8)CustomizeObjectSettingsPopup::init(v3, v1, v2, a1) )\n    sub_1009A64D0(v3);\n  cocos2d::CCObject::autorelease(v3);\n  return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);\n}", "assembly": "; \n; CustomizeObjectLayer::onSettings from 0x1001d9a50 to 0x1001d9b62 (274 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001d7b13\n; \n; This function is hookable on this platform (idp: pc, 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:26:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001d9a50\nmov     rbp, rsp                                                       ; +0x1, 0x1001d9a51\npush    r15                                                            ; +0x4, 0x1001d9a54\npush    r14                                                            ; +0x6, 0x1001d9a56\npush    r12                                                            ; +0x8, 0x1001d9a58\npush    rbx                                                            ; +0xa, 0x1001d9a5a\nmov     r14, rdi                                                       ; +0xb, 0x1001d9a5b\nmov     r15, [rdi+2B0h]                                                ; +0xe, 0x1001d9a5e\nmov     r12, [rdi+2B8h]                                                ; +0x15, 0x1001d9a65\nmov     edi, 408h; __sz                                                ; +0x1c, 0x1001d9a6c\ncall    __Znwm; operator new(ulong)                                    ; +0x21, 0x1001d9a71\nmov     rbx, rax                                                       ; +0x26, 0x1001d9a76\nmov     rdi, rax                                                       ; +0x29, 0x1001d9a79\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2c, 0x1001d9a7c\nlea     rax, off_100ADDCB8                                             ; +0x31, 0x1001d9a81\nmov     [rbx], rax                                                     ; +0x38, 0x1001d9a88\nlea     rax, off_100ADE2A8                                             ; +0x3b, 0x1001d9a8b\nmov     [rbx+140h], rax                                                ; +0x42, 0x1001d9a92\nlea     rax, off_100ADE318                                             ; +0x49, 0x1001d9a99\nmov     [rbx+148h], rax                                                ; +0x50, 0x1001d9aa0\nlea     rax, off_100ADE330                                             ; +0x57, 0x1001d9aa7\nmov     [rbx+150h], rax                                                ; +0x5e, 0x1001d9aae\nlea     rax, off_100ADE350                                             ; +0x65, 0x1001d9ab5\nmov     [rbx+158h], rax                                                ; +0x6c, 0x1001d9abc\nlea     rax, off_100ADE378                                             ; +0x73, 0x1001d9ac3\nmov     [rbx+160h], rax                                                ; +0x7a, 0x1001d9aca\nlea     rax, off_100ADE3A8                                             ; +0x81, 0x1001d9ad1\nmov     [rbx+198h], rax                                                ; +0x88, 0x1001d9ad8\nlea     rax, off_100ADE428                                             ; +0x8f, 0x1001d9adf\nmov     [rbx+1B0h], rax                                                ; +0x96, 0x1001d9ae6\nlea     rax, off_100ADE448                                             ; +0x9d, 0x1001d9aed\nmov     [rbx+220h], rax                                                ; +0xa4, 0x1001d9af4\nlea     rax, off_100ADE490                                             ; +0xab, 0x1001d9afb\nmov     [rbx+298h], rax                                                ; +0xb2, 0x1001d9b02\nlea     rax, off_100ADE4A8                                             ; +0xb9, 0x1001d9b09\nmov     [rbx+2A0h], rax                                                ; +0xc0, 0x1001d9b10\nmov     qword ptr [rbx+3F8h], 0                                        ; +0xc7, 0x1001d9b17\nmov     byte ptr [rbx+400h], 0                                         ; +0xd2, 0x1001d9b22\nmov     rdi, rbx                                                       ; +0xd9, 0x1001d9b29\nmov     rsi, r15                                                       ; +0xdc, 0x1001d9b2c\nmov     rdx, r12                                                       ; +0xdf, 0x1001d9b2f\nmov     rcx, r14                                                       ; +0xe2, 0x1001d9b32\ncall    CustomizeObjectSettingsPopup__init                             ; +0xe5, 0x1001d9b35\ntest    al, al                                                         ; +0xea, 0x1001d9b3a\njz      short loc_1001D9B5A                                            ; +0xec, 0x1001d9b3c\nmov     rdi, rbx                                                       ; +0xee, 0x1001d9b3e\ncall    cocos2d__CCObject__autorelease                                 ; +0xf1, 0x1001d9b41\nmov     rax, [rbx]                                                     ; +0xf6, 0x1001d9b46\nmov     rdi, rbx                                                       ; +0xf9, 0x1001d9b49\npop     rbx                                                            ; +0xfc, 0x1001d9b4c\npop     r12                                                            ; +0xfd, 0x1001d9b4d\npop     r14                                                            ; +0xff, 0x1001d9b4f\npop     r15                                                            ; +0x101, 0x1001d9b51\npop     rbp                                                            ; +0x103, 0x1001d9b53\njmp     qword ptr [rax+520h]                                           ; +0x104, 0x1001d9b54\nmov     rdi, rbx                                                       ; +0x10a, 0x1001d9b5a\ncall    sub_1009A64D0                                                  ; +0x10d, 0x1001d9b5d", "xrefs": ["CustomizeObjectLayer::init @ 0x1001d7b13"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}