{"type": "func", "start": 4300057952, "end": 4300058120, "name": "EmotePickerPopup::create", "pseudocode": "// \n// EmotePickerPopup::create from 0x1004dad60 to 0x1004dae08 (168 bytes)\n// \n// 1 xrefs:\n// > EmotePickerPopup::toggle @ 0x1004db184\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:06:34 +0000\n// \n\nvoid *__fastcall EmotePickerPopup::create(__int64 a1, double *a2, __int64 a3, __int64 a4)\n{\n  void *v8; // x19\n  double v9; // d0\n  __int64 v11; // [xsp+8h] [xbp-38h] BYREF\n\n  v8 = operator new(0x4D8u);\n  bzero(v8, 0x4D8u);\n  EmotePickerPopup::EmotePickerPopup(v8);\n  v9 = sub_1000262F4(&v11, a2);\n  if ( (unsigned int)EmotePickerPopup::init(v8, a1, &v11, a3, a4, v9) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v8);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);\n    return nullptr;\n  }\n  return v8;\n}", "assembly": "; \n; EmotePickerPopup::create from 0x1004dad60 to 0x1004dae08 (168 bytes)\n; \n; 1 xrefs:\n; > EmotePickerPopup::toggle @ 0x1004db184\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:06:34 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1004dad60\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x4, 0x1004dad64\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1004dad68\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1004dad6c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1004dad70\nADD             X29, SP, #0x40                                         ; +0x14, 0x1004dad74\nMOV             X20, X3                                                ; +0x18, 0x1004dad78\nMOV             X21, X2                                                ; +0x1c, 0x1004dad7c\nMOV             X23, X1                                                ; +0x20, 0x1004dad80\nMOV             X22, X0                                                ; +0x24, 0x1004dad84\nMOV             W0, #0x4D8; __sz                                       ; +0x28, 0x1004dad88\nBL              __Znwm; operator new(ulong)                            ; +0x2c, 0x1004dad8c\nMOV             X19, X0                                                ; +0x30, 0x1004dad90\nMOV             W1, #0x4D8; size_t                                     ; +0x34, 0x1004dad94\nBL              _bzero                                                 ; +0x38, 0x1004dad98\nMOV             X0, X19                                                ; +0x3c, 0x1004dad9c\nBL              EmotePickerPopup__EmotePickerPopup                     ; +0x40, 0x1004dada0\nADD             X0, SP, #0x40+var_38                                   ; +0x44, 0x1004dada4\nMOV             X1, X23                                                ; +0x48, 0x1004dada8\nBL              sub_1000262F4                                          ; +0x4c, 0x1004dadac\nADD             X2, SP, #0x40+var_38                                   ; +0x50, 0x1004dadb0\nMOV             X0, X19                                                ; +0x54, 0x1004dadb4\nMOV             X1, X22                                                ; +0x58, 0x1004dadb8\nMOV             X3, X21                                                ; +0x5c, 0x1004dadbc\nMOV             X4, X20                                                ; +0x60, 0x1004dadc0\nBL              EmotePickerPopup__init                                 ; +0x64, 0x1004dadc4\nCBZ             W0, loc_1004DADD8                                      ; +0x68, 0x1004dadc8\nMOV             X0, X19                                                ; +0x6c, 0x1004dadcc\nBL              cocos2d__CCObject__autorelease                         ; +0x70, 0x1004dadd0\nB               loc_1004DADEC                                          ; +0x74, 0x1004dadd4\nLDR             X8, [X19]                                              ; +0x78, 0x1004dadd8\nLDR             X8, [X8,#0x10]                                         ; +0x7c, 0x1004daddc\nMOV             X0, X19                                                ; +0x80, 0x1004dade0\nBLR             X8                                                     ; +0x84, 0x1004dade4\nMOV             X19, #0                                                ; +0x88, 0x1004dade8\nMOV             X0, X19                                                ; +0x8c, 0x1004dadec\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x90, 0x1004dadf0\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x94, 0x1004dadf4\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x98, 0x1004dadf8\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0x9c, 0x1004dadfc\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xa0, 0x1004dae00\nRET                                                                    ; +0xa4, 0x1004dae04", "xrefs": ["EmotePickerPopup::toggle @ 0x1004db184"], "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"}