{"type": "func", "start": 7541328, "end": 7541490, "name": "AdminActionConfirmPopup::onConfirm", "pseudocode": "// \n// AdminActionConfirmPopup::onConfirm from 0x731250 to 0x7312f2 (162 bytes)\n// \n// 0 xrefs:\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:58:20 +0000\n// \n\nint __fastcall AdminActionConfirmPopup::onConfirm(AdminActionConfirmPopup *this, cocos2d::CCObject *a2)\n{\n  int v2; // r1\n  cocos2d::CCDirector *String; // r0\n  int v5; // r0\n  cocos2d::CCTouchDispatcher *v6; // r0\n  void (__fastcall ***v7)(_DWORD, int, char **, int *); // r8\n  int v8; // r10\n  void (__fastcall *v9)(_DWORD, int, char **, int *); // r9\n  int v11[3]; // [sp+4h] [bp-1Ch] BYREF\n  char *v12[3]; // [sp+10h] [bp-10h] BYREF\n\n  v2 = *((_DWORD *)this + 183);\n  if ( v2 )\n    String = CCTextInputNode::getString((CCTextInputNode *)v11, v2);\n  else\n    String = (cocos2d::CCDirector *)std::string::basic_string(v11, (int)this + 720);\n  v5 = cocos2d::CCDirector::sharedDirector(String);\n  v6 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 80))(v5);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, this);\n  v7 = *((void (__fastcall ****)(_DWORD, int, char **, int *))this + 178);\n  if ( v7 )\n  {\n    v8 = *((_DWORD *)this + 179);\n    v9 = **v7;\n    AdminActionConfirmPopup::selectedCategories((AdminActionConfirmPopup *)v12, this);\n    v9(v7, v8, v12, v11);\n    std::__vector_base<int>::~__vector_base(v12);\n  }\n  (*(void (__fastcall **)(AdminActionConfirmPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0);\n  return std::string::~string((int)v11);\n}", "assembly": "; \n; AdminActionConfirmPopup::onConfirm from 0x731250 to 0x7312f2 (162 bytes)\n; \n; 0 xrefs:\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:58:20 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x73125A)                ; +0x0, 0x731250\nPUSH.W          {R4-R10,LR}                                            ; +0x2, 0x731252\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x731256\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x731258\nSUB             SP, SP, #0x20                                          ; +0xa, 0x73125a\nLDR.W           R1, [R0,#0x2DC]                                        ; +0xc, 0x73125c\nLDR             R2, [R3]                                               ; +0x10, 0x731260\nADD             R5, SP, #0x20+var_1C                                   ; +0x12, 0x731262\nMOV             R4, R0                                                 ; +0x14, 0x731264\nMOV             R7, R3                                                 ; +0x16, 0x731266\nMOV             R0, R5; this                                           ; +0x18, 0x731268\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x1a, 0x73126a\nCBZ             R1, loc_731274                                         ; +0x1c, 0x73126c\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x1e, 0x73126e\nB               loc_73127C                                             ; +0x22, 0x731272\nADD.W           R1, R4, #0x2D0                                         ; +0x24, 0x731274\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x28, 0x731278\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x73127c\nLDR             R3, [R0]                                               ; +0x30, 0x731280\nLDR             R3, [R3,#0x50]                                         ; +0x32, 0x731282\nBLX             R3                                                     ; +0x34, 0x731284\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x36, 0x731286\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x731288\nLDR.W           R8, [R4,#0x2C8]                                        ; +0x3c, 0x73128c\nCMP.W           R8, #0                                                 ; +0x40, 0x731290\nBEQ             loc_7312BC                                             ; +0x44, 0x731294\nLDR.W           R3, [R8]                                               ; +0x46, 0x731296\nADD             R6, SP, #0x20+var_10                                   ; +0x4a, 0x73129a\nMOV             R1, R4                                                 ; +0x4c, 0x73129c\nLDR.W           R10, [R4,#0x2CC]                                       ; +0x4e, 0x73129e\nMOV             R0, R6; this                                           ; +0x52, 0x7312a2\nLDR.W           R9, [R3]                                               ; +0x54, 0x7312a4\nBL              _ZN23AdminActionConfirmPopup18selectedCategoriesEv; AdminActionConfirmPopup::selectedCategories(void) ; +0x58, 0x7312a8\nMOV             R0, R8                                                 ; +0x5c, 0x7312ac\nMOV             R1, R10                                                ; +0x5e, 0x7312ae\nMOV             R2, R6                                                 ; +0x60, 0x7312b0\nMOV             R3, R5                                                 ; +0x62, 0x7312b2\nBLX             R9                                                     ; +0x64, 0x7312b4\nMOV             R0, R6                                                 ; +0x66, 0x7312b6\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x68, 0x7312b8\nLDR             R3, [R4]                                               ; +0x6c, 0x7312bc\nMOV             R0, R4                                                 ; +0x6e, 0x7312be\nMOVS            R1, #0                                                 ; +0x70, 0x7312c0\nLDR.W           R3, [R3,#0x2AC]                                        ; +0x72, 0x7312c2\nBLX             R3                                                     ; +0x76, 0x7312c6\nMOV             R0, R5                                                 ; +0x78, 0x7312c8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7a, 0x7312ca\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x7e, 0x7312ce\nLDR             R3, [R7]                                               ; +0x80, 0x7312d0\nCMP             R2, R3                                                 ; +0x82, 0x7312d2\nBEQ             loc_7312EC                                             ; +0x84, 0x7312d4\nBLX             __stack_chk_fail                                       ; +0x86, 0x7312d6\nMOV             R0, R6                                                 ; +0x8a, 0x7312da\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x8c, 0x7312dc\nB               loc_7312E2                                             ; +0x90, 0x7312e0\nMOV             R0, R5                                                 ; +0x92, 0x7312e2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x94, 0x7312e4\nBL              __cxa_end_cleanup                                      ; +0x98, 0x7312e8\nADD             SP, SP, #0x20 ; ' '                                    ; +0x9c, 0x7312ec\nPOP.W           {R4-R10,PC}                                            ; +0x9e, 0x7312ee", "xrefs": [], "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"}