{"type": "func", "start": 7836536, "end": 7836666, "name": "EmotePickerPopup::create", "pseudocode": "// \n// EmotePickerPopup::create from 0x779378 to 0x7793fa (130 bytes)\n// \n// 1 xrefs:\n// > EmotePickerPopup::toggle @ 0x77943e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n// \n\nvoid *__fastcall EmotePickerPopup::create(int a1, const cocos2d::CCPoint *a2, int a3, int a4)\n{\n  void *v8; // r4\n  float v10[2]; // [sp+Ch] [bp-Ch] BYREF\n\n  v8 = (void *)operator new(0x378u);\n  memset(v8, 0, 0x378u);\n  EmotePickerPopup::EmotePickerPopup((EmotePickerPopup *)v8);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, a2);\n  if ( EmotePickerPopup::init((int)v8, a1, v10, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);\n    return v8;\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_DWORD *)v8 + 8))(v8);\n    return nullptr;\n  }\n}", "assembly": "; \n; EmotePickerPopup::create from 0x779378 to 0x7793fa (130 bytes)\n; \n; 1 xrefs:\n; > EmotePickerPopup::toggle @ 0x77943e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x779378\nMOV             R9, R3                                                 ; +0x4, 0x77937c\nLDR             R6, =(__stack_chk_guard_ptr - 0x77938C)                ; +0x6, 0x77937e\nSUB             SP, SP, #0x18                                          ; +0x8, 0x779380\nMOV             R8, R0                                                 ; +0xa, 0x779382\nMOV.W           R0, #0x378; unsigned int                               ; +0xc, 0x779384\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x10, 0x779388\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x12, 0x77938a\nMOV             R10, R1                                                ; +0x14, 0x77938c\nMOV             R7, R2                                                 ; +0x16, 0x77938e\nLDR             R3, [R6]                                               ; +0x18, 0x779390\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1a, 0x779392\nBL              _Znwj; operator new(uint)                              ; +0x1c, 0x779394\nMOVS            R1, #0; int                                            ; +0x20, 0x779398\nMOV.W           R2, #0x378; size_t                                     ; +0x22, 0x77939a\nMOV             R4, R0                                                 ; +0x26, 0x77939e\nBLX             memset                                                 ; +0x28, 0x7793a0\nMOV             R0, R4; this                                           ; +0x2c, 0x7793a4\nBL              _ZN16EmotePickerPopupC2Ev; EmotePickerPopup::EmotePickerPopup(void) ; +0x2e, 0x7793a6\nADD             R5, SP, #0x18+var_C                                    ; +0x32, 0x7793aa\nMOV             R1, R10; cocos2d::CCPoint *                            ; +0x34, 0x7793ac\nMOV             R0, R5; this                                           ; +0x36, 0x7793ae\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x38, 0x7793b0\nSTR.W           R9, [SP,#0x18+var_18]                                  ; +0x3c, 0x7793b4\nMOV             R0, R4                                                 ; +0x40, 0x7793b8\nMOV             R1, R8                                                 ; +0x42, 0x7793ba\nMOV             R2, R5                                                 ; +0x44, 0x7793bc\nMOV             R3, R7                                                 ; +0x46, 0x7793be\nBL              _ZN16EmotePickerPopup4initEP15CCTextInputNodeN7cocos2d7CCPointEii; EmotePickerPopup::init(CCTextInputNode *,cocos2d::CCPoint,int,int) ; +0x48, 0x7793c0\nMOV             R5, R0                                                 ; +0x4c, 0x7793c4\nCBZ             R0, loc_7793D4                                         ; +0x4e, 0x7793c6\nMOV             R0, R4; this                                           ; +0x50, 0x7793c8\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x52, 0x7793ca\nMOV             R0, R4                                                 ; +0x56, 0x7793ce\nB               loc_7793DE                                             ; +0x58, 0x7793d0\nB               loc_7793F0                                             ; +0x5a, 0x7793d2\nLDR             R3, [R4]                                               ; +0x5c, 0x7793d4\nMOV             R0, R4                                                 ; +0x5e, 0x7793d6\nLDR             R3, [R3,#8]                                            ; +0x60, 0x7793d8\nBLX             R3                                                     ; +0x62, 0x7793da\nMOV             R0, R5                                                 ; +0x64, 0x7793dc\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x66, 0x7793de\nLDR             R3, [R6]                                               ; +0x68, 0x7793e0\nCMP             R2, R3                                                 ; +0x6a, 0x7793e2\nBEQ             loc_7793F4                                             ; +0x6c, 0x7793e4\nBLX             __stack_chk_fail                                       ; +0x6e, 0x7793e6\nMOV             R0, R4; void *                                         ; +0x72, 0x7793ea\nBL              _ZdlPv; operator delete(void *)                        ; +0x74, 0x7793ec\nBL              __cxa_end_cleanup                                      ; +0x78, 0x7793f0\nADD             SP, SP, #0x18                                          ; +0x7c, 0x7793f4\nPOP.W           {R4-R10,PC}                                            ; +0x7e, 0x7793f6", "xrefs": ["EmotePickerPopup::toggle @ 0x77943e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}