{"type": "func", "start": 7802012, "end": 7802156, "name": "DeathTrackerPopup::addRow", "pseudocode": "// \n// DeathTrackerPopup::addRow from 0x770c9c to 0x770d2c (144 bytes)\n// \n// 2 xrefs:\n// > DeathTrackerPopup::mountVirtualRow @ 0x771754\n// > DeathTrackerPopup::buildList @ 0x7744bc\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:15 +0000\n// \n\nint __fastcall DeathTrackerPopup::addRow(int a1, int a2, int a3, float a4, char a5, int a6)\n{\n  cocos2d::CCLabelBMFont *v8; // r0\n  int v9; // r4\n  void (__fastcall *v10)(int, _BYTE *); // r8\n  void (__fastcall *v11)(int, _BYTE *); // r8\n  _BYTE v13[8]; // [sp+4h] [bp-10h] BYREF\n\n  if ( (*(_BYTE *)a3 & 1) != 0 )\n    v8 = *(cocos2d::CCLabelBMFont **)(a3 + 8);\n  else\n    v8 = (cocos2d::CCLabelBMFont *)(a3 + 1);\n  v9 = cocos2d::CCLabelBMFont::create(v8, \"chatFont.fnt\", (const char *)a3);\n  v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 148);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 0.5);\n  v10(v9, v13);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 80))(v9, a6);\n  (*(void (__fastcall **)(int, char *))(*(_DWORD *)v9 + 536))(v9, &a5);\n  v11 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 92);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 12.0, a4);\n  v11(v9, v13);\n  return (*(int (__fastcall **)(int, int))(*(_DWORD *)a2 + 228))(a2, v9);\n}", "assembly": "; \n; DeathTrackerPopup::addRow from 0x770c9c to 0x770d2c (144 bytes)\n; \n; 2 xrefs:\n; > DeathTrackerPopup::mountVirtualRow @ 0x771754\n; > DeathTrackerPopup::buildList @ 0x7744bc\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:15 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x770c9c\nMOV             R7, R1                                                 ; +0x4, 0x770ca0\nLDR             R1, =(__stack_chk_guard_ptr - 0x770CAC)                ; +0x6, 0x770ca2\nMOV             R9, R3                                                 ; +0x8, 0x770ca4\nSUB             SP, SP, #0x14                                          ; +0xa, 0x770ca6\nADD             R1, PC; __stack_chk_guard_ptr                          ; +0xc, 0x770ca8\nLDR             R1, [R1]; __stack_chk_guard                            ; +0xe, 0x770caa\nADD             R5, SP, #0x14+var_10                                   ; +0x10, 0x770cac\nLDR             R3, [R1]                                               ; +0x12, 0x770cae\nMOV             R6, R1                                                 ; +0x14, 0x770cb0\nLDR             R1, =(aChatfontFnt - 0x770CBA); \"chatFont.fnt\"         ; +0x16, 0x770cb2\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x18, 0x770cb4\nADD             R1, PC; \"chatFont.fnt\"                                 ; +0x1a, 0x770cb6\nLDRB            R3, [R2]                                               ; +0x1c, 0x770cb8\nTST.W           R3, #1                                                 ; +0x1e, 0x770cba\nITE EQ                                                                 ; +0x22, 0x770cbe\nADDEQ           R0, R2, #1                                             ; +0x24, 0x770cc0\nLDRNE           R0, [R2,#8]; this                                      ; +0x26, 0x770cc2\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x28, 0x770cc4\nMOV.W           R2, #0x3F000000; float                                 ; +0x2c, 0x770cc8\nMOVS            R1, #0; float                                          ; +0x30, 0x770ccc\nLDR             R3, [R0]                                               ; +0x32, 0x770cce\nMOV             R4, R0                                                 ; +0x34, 0x770cd0\nMOV             R0, R5; this                                           ; +0x36, 0x770cd2\nLDR.W           R8, [R3,#0x94]                                         ; +0x38, 0x770cd4\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3c, 0x770cd8\nMOV             R0, R4                                                 ; +0x40, 0x770cdc\nMOV             R1, R5                                                 ; +0x42, 0x770cde\nBLX             R8                                                     ; +0x44, 0x770ce0\nLDR             R3, [R4]                                               ; +0x46, 0x770ce2\nMOV             R0, R4                                                 ; +0x48, 0x770ce4\nLDR             R1, [SP,#0x14+arg_4]                                   ; +0x4a, 0x770ce6\nLDR             R3, [R3,#0x50]                                         ; +0x4c, 0x770ce8\nBLX             R3                                                     ; +0x4e, 0x770cea\nLDR             R3, [R4]                                               ; +0x50, 0x770cec\nMOV             R0, R4                                                 ; +0x52, 0x770cee\nADD             R1, SP, #0x14+arg_0                                    ; +0x54, 0x770cf0\nLDR.W           R3, [R3,#0x218]                                        ; +0x56, 0x770cf2\nBLX             R3                                                     ; +0x5a, 0x770cf6\nLDR             R3, [R4]                                               ; +0x5c, 0x770cf8\nMOV             R2, R9; float                                          ; +0x5e, 0x770cfa\nLDR             R1, flt_770D2C; float                                  ; +0x60, 0x770cfc\nMOV             R0, R5; this                                           ; +0x62, 0x770cfe\nLDR.W           R8, [R3,#0x5C]                                         ; +0x64, 0x770d00\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x68, 0x770d04\nMOV             R0, R4                                                 ; +0x6c, 0x770d08\nMOV             R1, R5                                                 ; +0x6e, 0x770d0a\nBLX             R8                                                     ; +0x70, 0x770d0c\nLDR             R3, [R7]                                               ; +0x72, 0x770d0e\nMOV             R0, R7                                                 ; +0x74, 0x770d10\nMOV             R1, R4                                                 ; +0x76, 0x770d12\nLDR.W           R3, [R3,#0xE4]                                         ; +0x78, 0x770d14\nBLX             R3                                                     ; +0x7c, 0x770d18\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x7e, 0x770d1a\nLDR             R3, [R6]                                               ; +0x80, 0x770d1c\nCMP             R2, R3                                                 ; +0x82, 0x770d1e\nBEQ             loc_770D26                                             ; +0x84, 0x770d20\nBLX             __stack_chk_fail                                       ; +0x86, 0x770d22\nADD             SP, SP, #0x14                                          ; +0x8a, 0x770d26\nPOP.W           {R4-R9,PC}                                             ; +0x8c, 0x770d28", "xrefs": ["DeathTrackerPopup::mountVirtualRow @ 0x771754", "DeathTrackerPopup::buildList @ 0x7744bc"], "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"}