{"type": "func", "start": 4900636, "end": 4900746, "name": "FriendRequestPopup::onRemove", "pseudocode": "// \n// FriendRequestPopup::onRemove from 0x4ac71c to 0x4ac78a (110 bytes)\n// \n// 0 xrefs:\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\nvoid FriendRequestPopup::onRemove(FriendRequestPopup *a1, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v3; // r0\n  char v4[4]; // [sp+8h] [bp-8h] BYREF\n\n  v3 = GameLevelManager::sharedState();\n  if ( GameLevelManager::deleteFriendRequests(v3, a1->m_request->m_accountID, nullptr, 0) )\n  {\n    sub_776584((int)v4, \"Removing Friend Request...\");\n    a1->m_popup = (UploadActionPopup *)UploadActionPopup::create((char *)&a1->UploadPopupDelegate, v4);\n    sub_774008(v4);\n    a1->m_popup->show(a1->m_popup);\n  }\n}", "assembly": "; \n; FriendRequestPopup::onRemove from 0x4ac71c to 0x4ac78a (110 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R0-R6,LR}                                             ; +0x0, 0x4ac71c\nMOV             R6, R0                                                 ; +0x2, 0x4ac71e\nLDR             R4, =(__stack_chk_guard_ptr - 0x4AC726)                ; +0x4, 0x4ac720\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x6, 0x4ac722\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x8, 0x4ac724\nLDR             R3, [R4]                                               ; +0xa, 0x4ac726\nSTR             R3, [SP,#0x10+var_4]                                   ; +0xc, 0x4ac728\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xe, 0x4ac72a\nLDR.W           R3, [R6,#0x200]                                        ; +0x12, 0x4ac72e\nMOVS            R2, #0; cocos2d::CCArray *                             ; +0x16, 0x4ac732\nLDR.W           R1, [R3,#0x10C]; int                                   ; +0x18, 0x4ac734\nMOV             R3, R2; bool                                           ; +0x1c, 0x4ac738\nBL              _ZN16GameLevelManager20deleteFriendRequestsEiPN7cocos2d7CCArrayEb; GameLevelManager::deleteFriendRequests(int,cocos2d::CCArray *,bool) ; +0x1e, 0x4ac73a\nCBZ             R0, loc_4AC77A                                         ; +0x22, 0x4ac73e\nADD             R5, SP, #0x10+var_8                                    ; +0x24, 0x4ac740\nLDR             R1, =(aRemovingFriend_0 - 0x4AC74A); \"Removing Friend Request...\" ; +0x26, 0x4ac742\nADD             R2, SP, #0x10+var_C                                    ; +0x28, 0x4ac744\nADD             R1, PC; \"Removing Friend Request...\"                   ; +0x2a, 0x4ac746\nMOV             R0, R5; int                                            ; +0x2c, 0x4ac748\nBL              sub_776584                                             ; +0x2e, 0x4ac74a\nADD.W           R0, R6, #0x1F4                                         ; +0x32, 0x4ac74e\nMOV             R1, R5                                                 ; +0x36, 0x4ac752\nBL              _ZN17UploadActionPopup6createEP19UploadPopupDelegateSs; UploadActionPopup::create(UploadPopupDelegate *,std::string) ; +0x38, 0x4ac754\nSTR.W           R0, [R6,#0x20C]                                        ; +0x3c, 0x4ac758\nMOV             R0, R5                                                 ; +0x40, 0x4ac75c\nBL              sub_774008                                             ; +0x42, 0x4ac75e\nLDR.W           R0, [R6,#0x20C]                                        ; +0x46, 0x4ac762\nLDR             R3, [R0]                                               ; +0x4a, 0x4ac766\nLDR.W           R3, [R3,#0x284]                                        ; +0x4c, 0x4ac768\nBLX             R3                                                     ; +0x50, 0x4ac76c\nB               loc_4AC77A                                             ; +0x52, 0x4ac76e\nMOV             R0, R5                                                 ; +0x54, 0x4ac770\nBL              sub_774008                                             ; +0x56, 0x4ac772\nBL              __cxa_end_cleanup                                      ; +0x5a, 0x4ac776\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x5e, 0x4ac77a\nLDR             R3, [R4]                                               ; +0x60, 0x4ac77c\nCMP             R2, R3                                                 ; +0x62, 0x4ac77e\nBEQ             loc_4AC786                                             ; +0x64, 0x4ac780\nBLX             __stack_chk_fail                                       ; +0x66, 0x4ac782\nADD             SP, SP, #0x10                                          ; +0x6a, 0x4ac786\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x4ac788", "xrefs": [], "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"}