{"type": "func", "start": 5373292944, "end": 5373293095, "name": "SetupSpawnPopup::onPasteRemap", "pseudocode": "// \n// SetupSpawnPopup::onPasteRemap from 0x14045f190 to 0x14045f227 (151 bytes)\n// \n// 2 xrefs:\n// > SetupSpawnPopup::init @ 0x14045ec53\n// > <???> @ 0x1406dad9c\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\n// Hidden C++ exception states: #wind=1\nvoid SetupSpawnPopup::onPasteRemap(SetupSpawnPopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rdi\n  __int64 **v4; // rdi\n  __int64 *i; // rbx\n  void *v6; // [rsp+40h] [rbp+18h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v6 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  v4 = *(__int64 ***)(*(_QWORD *)(v3 + 528) + 15080LL);\n  for ( i = *v4; i != (__int64 *)v4; i = (__int64 *)*i )\n    SetupSpawnPopup::addRemap(a1, *((_DWORD *)i + 4), *((_DWORD *)i + 5));\n}", "assembly": "; \n; SetupSpawnPopup::onPasteRemap from 0x14045f190 to 0x14045f227 (151 bytes)\n; \n; 2 xrefs:\n; > SetupSpawnPopup::init @ 0x14045ec53\n; > <???> @ 0x1406dad9c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14045f190\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14045f195\npush    rdi                                                            ; +0xa, 0x14045f19a\nsub     rsp, 20h                                                       ; +0xb, 0x14045f19b\nmov     rsi, rcx                                                       ; +0xf, 0x14045f19f\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x12, 0x14045f1a2\ntest    rdi, rdi                                                       ; +0x19, 0x14045f1a9\njnz     short loc_14045F1DD                                            ; +0x1c, 0x14045f1ac\nmov     ecx, 668h; Size                                                ; +0x1e, 0x14045f1ae\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23, 0x14045f1b3\nmov     [rsp+28h+arg_10], rax                                          ; +0x28, 0x14045f1b8\nmov     rcx, rax                                                       ; +0x2d, 0x14045f1bd\ncall    sub_14017AB00                                                  ; +0x30, 0x14045f1c0\nnop                                                                    ; +0x35, 0x14045f1c5\nmov     cs:qword_1406C2ED8, rax                                        ; +0x36, 0x14045f1c6\nmov     rdx, [rax]                                                     ; +0x3d, 0x14045f1cd\nmov     rcx, rax                                                       ; +0x40, 0x14045f1d0\ncall    qword ptr [rdx+48h]                                            ; +0x43, 0x14045f1d3\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x46, 0x14045f1d6\nmov     rdi, [rdi+210h]                                                ; +0x4d, 0x14045f1dd\nmov     rdi, [rdi+3AE8h]                                               ; +0x54, 0x14045f1e4\nmov     rbx, [rdi]                                                     ; +0x5b, 0x14045f1eb\ncmp     rbx, rdi                                                       ; +0x5e, 0x14045f1ee\njz      short loc_14045F217                                            ; +0x61, 0x14045f1f1\nnop     dword ptr [rax+00h]                                            ; +0x63, 0x14045f1f3\nnop     word ptr [rax+rax+00000000h]                                   ; +0x67, 0x14045f1f7\nmov     r8d, [rbx+14h]                                                 ; +0x70, 0x14045f200\nmov     edx, [rbx+10h]                                                 ; +0x74, 0x14045f204\nmov     rcx, rsi                                                       ; +0x77, 0x14045f207\ncall    SetupSpawnPopup__addRemap                                      ; +0x7a, 0x14045f20a\nmov     rbx, [rbx]                                                     ; +0x7f, 0x14045f20f\ncmp     rbx, rdi                                                       ; +0x82, 0x14045f212\njnz     short loc_14045F200                                            ; +0x85, 0x14045f215\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x87, 0x14045f217\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8c, 0x14045f21c\nadd     rsp, 20h                                                       ; +0x91, 0x14045f221\npop     rdi                                                            ; +0x95, 0x14045f225\nretn                                                                   ; +0x96, 0x14045f226", "xrefs": ["SetupSpawnPopup::init @ 0x14045ec53", "<???> @ 0x1406dad9c"], "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"}