{"type": "func", "start": 7546152, "end": 7546234, "name": "AccountReviewPopup::openUserComments", "pseudocode": "// \n// AccountReviewPopup::openUserComments from 0x732528 to 0x73257a (82 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::onNotes @ 0x73257c\n// > AccountReviewPopup::onCommentHistory @ 0x73258e\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:21 +0000\n// \n\nint __fastcall AccountReviewPopup::openUserComments(GJGameLevel **this, int a2)\n{\n  cocos2d::CCDirector *v3; // r4\n  cocos2d::CCScene *v4; // r5\n  int v5; // r0\n  int v6; // r3\n  int result; // r0\n  GJEditorSoundConfig *savedregs; // [sp+0h] [bp+0h]\n\n  v3 = (cocos2d::CCDirector *)InfoLayer::create(nullptr, *(this + 161), nullptr, nullptr, savedregs);\n  v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 220);\n  if ( (int)cocos2d::CCScene::getHighestChildZ(v4) <= 109 )\n    v5 = 110;\n  else\n    v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;\n  v6 = *(_DWORD *)v3;\n  *((_DWORD *)v3 + 116) = v5;\n  result = (*(int (__fastcall **)(cocos2d::CCDirector *))(v6 + 656))(v3);\n  if ( a2 )\n    return InfoLayer::toggleModRoom(v3, nullptr);\n  return result;\n}", "assembly": "; \n; AccountReviewPopup::openUserComments from 0x732528 to 0x73257a (82 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::onNotes @ 0x73257c\n; > AccountReviewPopup::onCommentHistory @ 0x73258e\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:21 +0000\n; \nMOV             R3, R0                                                 ; +0x0, 0x732528\nMOVS            R0, #0; this                                           ; +0x2, 0x73252a\nPUSH            {R4-R6,LR}; GJEditorSoundConfig *                      ; +0x4, 0x73252c\nMOV             R2, R0; GJUserScore *                                  ; +0x6, 0x73252e\nMOV             R6, R1                                                 ; +0x8, 0x732530\nLDR.W           R1, [R3,#0x284]; GJGameLevel *                         ; +0xa, 0x732532\nMOV             R3, R0; GJLevelList *                                  ; +0xe, 0x732536\nBL              _ZN9InfoLayer6createEP11GJGameLevelP11GJUserScoreP11GJLevelListP19GJEditorSoundConfig; InfoLayer::create(GJGameLevel *,GJUserScore *,GJLevelList *,GJEditorSoundConfig *) ; +0x10, 0x732538\nMOV             R4, R0                                                 ; +0x14, 0x73253c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x16, 0x73253e\nLDR.W           R5, [R0,#0xDC]                                         ; +0x1a, 0x732542\nMOV             R0, R5; this                                           ; +0x1e, 0x732546\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x20, 0x732548\nCMP             R0, #0x6D ; 'm'                                        ; +0x24, 0x73254c\nBLE             loc_73255A                                             ; +0x26, 0x73254e\nMOV             R0, R5; this                                           ; +0x28, 0x732550\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x2a, 0x732552\nADDS            R0, #1                                                 ; +0x2e, 0x732556\nB               loc_73255C                                             ; +0x30, 0x732558\nMOVS            R0, #0x6E ; 'n'                                        ; +0x32, 0x73255a\nLDR             R3, [R4]                                               ; +0x34, 0x73255c\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x36, 0x73255e\nMOV             R0, R4                                                 ; +0x3a, 0x732562\nLDR.W           R3, [R3,#0x290]                                        ; +0x3c, 0x732564\nBLX             R3                                                     ; +0x40, 0x732568\nCBZ             R6, locret_732578                                      ; +0x42, 0x73256a\nMOV             R0, R4; this                                           ; +0x44, 0x73256c\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x46, 0x73256e\nPOP.W           {R4-R6,LR}                                             ; +0x48, 0x732570\nB.W             _ZN9InfoLayer13toggleModRoomEPN7cocos2d8CCObjectE; InfoLayer::toggleModRoom(cocos2d::CCObject *) ; +0x4c, 0x732574\nPOP             {R4-R6,PC}                                             ; +0x50, 0x732578", "xrefs": ["AccountReviewPopup::onNotes @ 0x73257c", "AccountReviewPopup::onCommentHistory @ 0x73258e"], "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"}